package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.WendaQuestion;
import cn.wolfcode.luowowo.article.domain.WendaQuestionContent;
import cn.wolfcode.luowowo.article.query.WendaQuestionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IWendaQuestionService {
    int deleteByPrimaryKey(Long id);

    int insert(WendaQuestion record);

    WendaQuestion selectByPrimaryKey(Long id);

    List<WendaQuestion> selectAll();

    int updateByPrimaryKey(WendaQuestion record);

    Long saveOrUpdate(WendaQuestion wendaQuestion, Long tagId);

    WendaQuestionContent getContent(Long id);

    PageInfo query(WendaQuestionQuery qo);

    PageInfo queryConcat(WendaQuestionQuery qo);
}
